package summer_vacation.qiuyangyang;

/**
 * Created by Administrator on 2015/8/26 0026.
 */
public class Assignment_10 {
    public static void main(String[] args){
        int last=0;
        last=1020/2+2;
        int i=0;
        for(i=1;last>=0;i++){
            last=last-(last/2+2);
        }
        System.out.println(i);
    }
}
